GUILE_EXEC=guile
TEST_RUN_WORKING_DIR=.
TEST_SOURCE_DIR=./test
LOG_FILE_DIR=.
TEST_LOG_FILES = \
    vector-utils-test.log \
	split-quality-measure-test.log \
	pruning-test.log \
	csv-utils-test.log \
	collection-utils-test.log \
	test-utils-test.log \
	data-point-test.log \
	random-utils-test.log \
	prediction-test.log \
	os-utils-test.log \
	decision-tree-test.log \
	string-utils-test.log \
	display-utils-test.log \
	tree-test.log \
	metrics-test.log \
	math-utils-test.log \
	list-utils-test.log \
	dataset-test.log

$(LOG_FILE_DIR)/%.log: $(TEST_SOURCE_DIR)/%.scm
	$(GUILE_EXEC) -L $(TEST_RUN_WORKING_DIR) $^

test: $(TEST_LOG_FILES)

.PHONY: clean
clean:
	rm --verbose *.log
